/*
 * @Author: 徐汉卿 xuhanqing@imohoo.com
 * @Date: 2023-07-18 17:19:24
 * @LastEditors: 徐汉卿 xuhanqing@imohoo.com
 * @LastEditTime: 2023-08-31 17:33:51
 * @FilePath: /sy-app2/src/app.config.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default defineAppConfig({
  pages: [
    "pages/index/index",
    // "pages/login/index",
    "pages/task/index",
    "pages/application/index",
    "pages/user/index",
    // "pages/todo/index",

    // 'pages/settings/index'
  ],
  subPackages: [
    {
      root: "pages/settings/",
      pages: ["index"],
    },
    {
      root: "pages/charts/",
      pages: ["index"],
    },
    {
      root: "pages/login/",
      pages: ["index"],
    },
    // {
    //   root: "pages/application/",
    //   pages: ["index"],
    // },
    // {
    //   root: "pages/user/",
    //   pages: ["index"],
    // },
    {
      root: "pages/todo/",
      pages: ["index"],
    },
    {
      root: "pages/attendance/",
      pages: ["index"],
    },
    {
      root: "pages/ALogin/",
      pages: ["index"],
    },
    {
      root: "pages/Check/",
      pages: ["index"],
    },
    {
      root: "pages/myAttendance/",
      pages: ["index"],
    },

  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "SunYu",
    navigationBarTextStyle: "black",
  },
  tabBar: {
    color: "#3f7aed",
    selectedColor: "#3f7aed",
    backgroundColor: "#FBFBFB",
    borderStyle: "white",
    list: [
      {
        pagePath: "pages/index/index",
        text: "首页",
        iconPath: "./assets/icons/index.png",
        selectedIconPath: "./assets/icons/index_selected.png",

      },
      {
        pagePath: "pages/task/index",
        text: "任务",
        iconPath: "./assets/icons/task.png",
        selectedIconPath: "./assets/icons/task_selected.png",
      },
      {
        pagePath: "pages/application/index",
        text: "应用",
        iconPath: "./assets/icons/application.png",
        selectedIconPath: "./assets/icons/application_selected.png",
      },
      {
        pagePath: "pages/user/index",
        text: "我的",
        iconPath: "./assets/icons/user.png",
        selectedIconPath: "./assets/icons/user_selected.png",
      },
    ],
  },
});
